package com.hxw.schema.decorator;

/**
 * Created by Think on 2018/5/4.
 * 装饰模式
 */
public class Person {
    private String name;
    public Person(){}
    public Person(String name){
        this.name = name;
    }
    public void show(){
        System.out.println("装扮的"+name);
    }
}
